<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  {{template "link/customer/link.html" . }}
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
</head>
<body>

{{template "link/customer/nav.html" . }}

  {{template "link/customer/header.html" .}}


  <div class="content content-nav-base  login-content">
    {{template "link/customer/navBar.html" .}}
    <div class="login-bg">
      <div class="login-cont w1200">
        <div class="form-box my-login-form">
          <form class="layui-form" action="/customer/login" method="post">
            <legend>用户登录</legend>
            <div class="layui-form-item">
              <div class="layui-inline iphone">
                <div class="layui-input-inline">
                  <i class="layui-icon layui-icon-username iphone-icon"></i>
                  <input type="tel" name="username" id="phone" lay-verify="required|phone" placeholder="请输入帐号" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-inline iphone">
               <div class="layui-input-inline">
                 <i class="layui-icon layui-icon-auz iphone-icon"></i>
                 <input type="password" name="password" lay-verify="required" placeholder="请输入密码" autocomplete="false" class="layui-input">
               </div>
              </div>
            </div>
            <div class="layui-form-item login-btn">
              <div class="layui-input-inline">
                <div class="loginLayout">
                  <button class="layui-btn login_btn">登录</button>
                </div>
                <div class="registerLayout">
                  <button class="layui-btn layui-btn-warm regBtn" onclick="">注册</button>
                </div>
              </div>
            </div>
            <hr></hr>
            <div class="layui-form-item bottom_href">
             <span class="layui-word-aux sellLogin">
               <a href="/sell/login">卖家登录</a>
             </span>
            <span class="layui-word-aux forgetPwd">
              <a href="/forget">忘记密码</a>
            </span>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>

  <div class="footer">
    <div class="ng-promise-box">
      <div class="ng-promise w1200">
        <p class="text">
          <a class="icon1" href="javascript:;">7天无理由退换货</a>
          <a class="icon2" href="javascript:;">满99元全场免邮</a>
          <a class="icon3" style="margin-right: 0" href="javascript:;">100%品质保证</a>
        </p>
      </div>
    </div>
    <div class="mod_help w1200">                                     
      <p>
        <a href="javascript:;">关于我们</a>
        <span>|</span>
        <a href="javascript:;">帮助中心</a>
        <span>|</span>
        <a href="javascript:;">售后服务</a>
        <span>|</span>
        <a href="javascript:;">母婴资讯</a>
        <span>|</span>
        <a href="javascript:;">关于货源</a>
      </p>
      <p class="coty">母婴商城版权所有 &copy; 2012-2020</p>
    </div>
  </div>

</body>
<script>
  layui.config({
    base: '/static/js/util/' //你存放新模块的目录，注意，不是layui的模块目录
  }).use(['jquery',], function(args){
    var $= layui.jquery;

      var regBtn = $(".regBtn")
      regBtn.click(function () {
          $(location).attr('href',"/customer/register");
          return false;
      });
  });
</script>
</html>